projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8edc7b1
)
Implement VM.set_name_label.
author
Ewan Mellor
<ewan@xensource.com>
Wed, 6 Dec 2006 11:24:37 +0000
(11:24 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Wed, 6 Dec 2006 11:24:37 +0000
(11:24 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendAPI.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendAPI.py
b/tools/python/xen/xend/XendAPI.py
index 9f3b2ed459cf8d086f62a4da7387f9072408defc..0b4e35b8ced1421b764814d6f87406ed759585ca 100644
(file)
--- a/
tools/python/xen/xend/XendAPI.py
+++ b/
tools/python/xen/xend/XendAPI.py
@@
-821,8
+821,9
@@
class XendAPI:
dom = XendDomain.instance().get_vm_by_uuid(vm_ref)
return xen_api_todo()
- def VM_set_name_label(self, session, vm_ref):
+ def VM_set_name_label(self, session, vm_ref
, label
):
dom = XendDomain.instance().get_vm_by_uuid(vm_ref)
+ dom.setName(label)
return xen_api_success_void()
def VM_set_name_description(self, session, vm_ref):